﻿using SlimDX.Direct3D9;

namespace BasicFramework.Devices.DirectX9
{
    public class DX9DeviceSettings : IDeviceSettings
    {

        #region IDeviceSettings Members

        public int DXVersion
        {
            get { return 9; }
        }

        #endregion


        #region Fields

        private CreateFlags creationFlags;
        private int adapterNumber;
        private int width;
        private int height;

        #endregion


        #region Properties


        public CreateFlags CreationFlags
        {
            get { return creationFlags; }
            set { creationFlags = value; }
        }

        public int AdapterNumber
        {
            get { return adapterNumber; }
            set { adapterNumber = value; }
        }

        public int Width
        {
            get { return width; }
            set { width = value; }
        }

        public int Height
        {
            get { return height; }
            set { height = value; }
        }

        #endregion


        #region Constructors

        public DX9DeviceSettings()
        {
            this.CreationFlags = CreateFlags.SoftwareVertexProcessing;
            this.width = 800;
            this.height = 600;
        }

        #endregion


        #region Events

        #endregion


        #region Private methods

        #endregion


        #region Public methods

        #endregion



    }
}
